﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.Practices.Unity;
using LazyRabbit.Domain;

namespace LazyRabbit.WebApp.Controllers
{
    public class HomeController : Controller
    {
        //[Dependency]
        //public IApplication Application { get; set; }

        [Dependency]
        public IUserService UserService { get; set; }

        //
        // GET: /Home/

        public ActionResult Index()
        {
            //ViewBag.SiteInfo = Application.GetSiteInfo();
            ViewBag.CurrentUser = UserService.GetCurrentUser();
            return View();
        }

    }
}
